const a = function (echarts, d, { xe: { get, pluck } }) {
  const items = get(d, "data.items", []);
  if (!items.length) return {};
  console.log("本级补助chart data: ", items);
  return {
    legend: { data: ["支出", "预算"] },
    grid: {
      containLabel: true,
      top: 40,
      left: "10",
      right: "40",
      bottom: "10",
    },
    xAxis: { type: "category", boundaryGap: false, data: pluck(items, "name") },
    yAxis: { type: "value" },
    series: [
      { name: "预算", type: "line", stack: "Total", data: pluck(items, "ys") },
      { name: "支出", type: "line", stack: "Total", data: pluck(items, "zc") },
    ],
  };
};